import 'package:freezed_annotation/freezed_annotation.dart';

import 'cert_video.dart';

part 'original_flavor_cell_model.freezed.dart';
part 'original_flavor_cell_model.g.dart';

@freezed
class OriginalFlavorCellModel with _$OriginalFlavorCellModel {
  factory OriginalFlavorCellModel({
    int? belongsId,
    String? belongsLogo,
    String? belongsNickname,
    int? buyNum,
    CertVideo? certVideo,
    DateTime? createdAt,
    String? id,
    List<String>? images,
    bool? isOrigin,
    int? price,
    int? productId,
    int? sortNum,
    int? status,
    int? sumIncome,
    String? title,
    DateTime? updatedAt,
    bool? videoCert,
  }) = _OriginalFlavorCellModel;

  factory OriginalFlavorCellModel.fromJson(Map<String, dynamic> json) =>
      _$OriginalFlavorCellModelFromJson(json);
}
